const Index = () => import('../app/pages/Index');
const Notebook = () => import('../app/pages/Notebook');
const Food = () => import('../app/pages/Food');
const IndexContent = () => import('../app/pages/IndexContent');
const GoodsDetail = () => import('../app/pages/GoodsDetail');
const LoginForm = () => import('../app/pages/Login');
const Hello = () => import('../app/pages/Hello');
const routes = [
    {
        path: '/navigate',
        component: Index,
        children: [
            {
                path: '/',
                name: 'indexContent',
                component: IndexContent

            },

            {
                path: 'notebook',
                name: 'notebook',
                component: Notebook
            },
            {
                path: 'food',
                name: 'food',
                component: Food
            }
        ]
    },
    {
        path: '/goodsDetail',
        name: 'goodsDetail',
        component: GoodsDetail
    },
    {
        path: '/',
        component: LoginForm
    },

    {
        path: 'hello',
        name: 'hello',
        component: Hello
    },

];
export default routes
